CreativeMail\Managers\ApiManager B

Total Complexity 90
Dependencies 15
Dependents 1
Total lines 775
Lines of code 544
Logical lines of code 261
Comment lines 86
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
create_key()
A
40 9 62
get_wc_products()
A
45 10 40
add_rest_endpoints()
A
34 2 132
check_if_product_exists_by_product_id()
S
56 6 18
check_if_previously_purchased()
S
48 5 32
get_plugin_info()
S
50 5 31
register_route()
S
52 5 25
find_pages_by_content_tag()
S
57 5 16
validate_callback()
S
57 5 15
get_key()
S
57 3 19
get_wp_posts()
S
56 3 18
validate_api_key()
S
61 3 12
get_ce_checkout()
S
63 3 11
get_wc_keys()
S
53 2 21
get_images()
S
59 2 15
get_pages_with_ce_forms()
S
61 2 12
get_managed_email_notifications()
S
67 2 7
hide_banner()
S
66 2 8
revoke_key()
S
66 2 8
get_key_id()
S
75 2 4
get_or_generate_key()
S
69 2 7
validate_wp_admin()
S
69 2 6
get_consumer_key()
S
81 1 3
set_key_id()
S
81 1 3
set_consumer_key()
S
81 1 3
get_api_background_process()
S
82 1 3
refresh_key()
S
77 1 4
modify_response()
S
82 1 3
add_hooks()
S
79 1 3
__construct()
S
81 1 3